package com.hdu.service;

import com.hdu.pojo.VisitedUrl;

public interface URLService {

    VisitedUrl getVisitedUrlById(Long id);

    boolean addVisitedUrl(VisitedUrl visitedUrl);

    boolean updateVisitedUrl(VisitedUrl visitedUrl);

    boolean deleteVisitedUrl(Long id);

    Integer getVisitedUrlCountsByUrl(String url);

    boolean incrementVisitedCount(String url);
}
